print('\n=========================程序开始=============================================\n')
favorite_languages={
    'jen':['python','ruby'],
    'sarah':['c'],
    'edward':['ruby','go'],
    'phil':['python','haskell']
}
for name,language in favorite_languages.items():
    if len(language)==1:
        print(f"\n{name.title()}'s favorite languag is:")
    else:
        print(f"\n{name.title()}'s favorite languag are:")
    for lang in language:
        print(f"\t{lang.title()}")